package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.MotorReliabilityData;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface MotorReliabilityDataMapper {
    int deleteByPrimaryKey(Integer deviceId);

    int insert(MotorReliabilityData record);

    int insertSelective(MotorReliabilityData record);

    MotorReliabilityData selectByPrimaryKey(Integer deviceId);

    int updateByPrimaryKeySelective(MotorReliabilityData record);

    int updateByPrimaryKey(MotorReliabilityData record);
     Integer batchSave(@Param("list") List<MotorReliabilityData> list);
     Integer batchUpdate(@Param("list") List<MotorReliabilityData> list);
}